cmake_minimum_required(VERSION 3.10)
project(shoe_sole_path)

# Set C++ standard
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# Find required packages
find_package(PCL REQUIRED)
find_package(OpenCV REQUIRED)

# Include directories
include_directories(
  ${PCL_INCLUDE_DIRS}
  ${OpenCV_INCLUDE_DIRS}
)

# Link directories
link_directories(${PCL_LIBRARY_DIRS})

# Add definitions
add_definitions(${PCL_DEFINITIONS})

# Add executables
add_executable(display display.cpp)
add_executable(png_pcd_path 
    png_pcd_path.cpp
)

# 链接库
target_link_libraries(png_pcd_path 
    ${PCL_LIBRARIES}
    ${OpenCV_LIBS}
)


target_link_libraries(display
  ${PCL_LIBRARIES}
)